package Yijun;


class Mouse {
    private String name;

    public Mouse(String name) {
        this.name = name;
    }

    public void stealFood() {
        System.out.println(name + "偷吃鱼啦");
    }

    public void squeak() {
        System.out.println(name + "吱吱吱");
    }

    public String getName() {
        return name;
    }
}




